package com.xuelang.pipeline.artifact.app.harborv2.response;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.OffsetDateTime;

/**
 * @author xiwen.zxg
 * @since 2024/7/11
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ListRepositoryResponse {
    /**
     * The count of the artifacts inside the repository
     */
    private Long artifactCount;
    /**
     * The creation time of the repository
     */
    private OffsetDateTime creationTime;
    /**
     * The description of the repository
     */
    private String description;
    /**
     * The ID of the repository
     */
    private Long id;
    /**
     * The name of the repository
     */
    private String name;
    /**
     * The ID of the project that the repository belongs to
     */
    private Long projectID;
    /**
     * The count that the artifact inside the repository pulled
     */
    private Long pullCount;
    /**
     * The update time of the repository
     */
    private OffsetDateTime updateTime;
}
